export interface Borrow {
  borrowId: number;
  bookId: number;
  userId: number;
  bookTitle?: string;
  borrowDate: string;
  expectedReturnDate: string;
  returnDate?: string | null;
  status: number; // 0:借阅中 1:已归还
}

export interface BorrowQueryParams {
  pageNum: number;
  pageSize: number;
  status?: number;
}

export interface BorrowRequest {
  bookId: number;
  expectedReturnDate: string;
}
